/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/*
 * PnlEditClemens.java
 *
 * Created on 18 ม.ค. 2553, 15:12:28
 */

package store.backend;

/**
 *
 * @author Administrator
 */
public class PnlEditClemens extends javax.swing.JPanel {

    /** Creates new form PnlEditClemens */
    public PnlEditClemens() {
        initComponents();
    }

    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        jPanel1 = new javax.swing.JPanel();
        lblEditClemens = new javax.swing.JLabel();
        btnClemensSave = new javax.swing.JButton();
        btnClemensCancel = new javax.swing.JButton();
        jPanel2 = new javax.swing.JPanel();
        txfEditClemensProduct = new javax.swing.JTextField();
        lblClemensEditProduct = new javax.swing.JLabel();
        lblClemensEditStaff = new javax.swing.JLabel();
        txfEditClemensStaff = new javax.swing.JTextField();
        lblClemensEditDate = new javax.swing.JLabel();
        lblClemensEditNote = new javax.swing.JLabel();
        jScrollPane2 = new javax.swing.JScrollPane();
        txaClemensEditNote = new javax.swing.JTextArea();
        txfEditClemensDate = new javax.swing.JTextField();
        jLabel7 = new javax.swing.JLabel();
        txfEditClemensDate1 = new javax.swing.JTextField();

        setMaximumSize(new java.awt.Dimension(700, 500));
        setMinimumSize(new java.awt.Dimension(700, 500));
        setPreferredSize(new java.awt.Dimension(700, 500));
        setLayout(new java.awt.BorderLayout());

        jPanel1.setBackground(new java.awt.Color(255, 204, 102));
        jPanel1.setMaximumSize(new java.awt.Dimension(700, 80));
        jPanel1.setPreferredSize(new java.awt.Dimension(700, 80));

        lblEditClemens.setFont(new java.awt.Font("Tahoma", 1, 16));
        lblEditClemens.setText("สินค้าเครม");

        btnClemensSave.setFont(new java.awt.Font("Tahoma", 0, 14));
        btnClemensSave.setIcon(new javax.swing.ImageIcon(getClass().getResource("/icon/save_30x30.gif"))); // NOI18N
        btnClemensSave.setPreferredSize(new java.awt.Dimension(75, 30));
        btnClemensSave.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnClemensSaveActionPerformed(evt);
            }
        });

        btnClemensCancel.setFont(new java.awt.Font("Tahoma", 0, 14));
        btnClemensCancel.setIcon(new javax.swing.ImageIcon(getClass().getResource("/icon/cancel_30x30.gif"))); // NOI18N
        btnClemensCancel.setPreferredSize(new java.awt.Dimension(75, 30));

        javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1);
        jPanel1.setLayout(jPanel1Layout);
        jPanel1Layout.setHorizontalGroup(
            jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel1Layout.createSequentialGroup()
                .addGap(20, 20, 20)
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel1Layout.createSequentialGroup()
                        .addComponent(btnClemensSave, javax.swing.GroupLayout.PREFERRED_SIZE, 40, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(btnClemensCancel, javax.swing.GroupLayout.PREFERRED_SIZE, 40, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addComponent(lblEditClemens))
                .addContainerGap(590, Short.MAX_VALUE))
        );
        jPanel1Layout.setVerticalGroup(
            jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel1Layout.createSequentialGroup()
                .addGap(10, 10, 10)
                .addComponent(lblEditClemens)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addComponent(btnClemensSave, javax.swing.GroupLayout.PREFERRED_SIZE, 40, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(btnClemensCancel, javax.swing.GroupLayout.PREFERRED_SIZE, 40, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        add(jPanel1, java.awt.BorderLayout.NORTH);

        txfEditClemensProduct.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
        txfEditClemensProduct.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                txfEditClemensProductActionPerformed(evt);
            }
        });

        lblClemensEditProduct.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
        lblClemensEditProduct.setText("รหัสสินค้า :");

        lblClemensEditStaff.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
        lblClemensEditStaff.setText("รหัสพนักงาน :");

        txfEditClemensStaff.setFont(new java.awt.Font("Tahoma", 0, 12));
        txfEditClemensStaff.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                txfEditClemensStaffActionPerformed(evt);
            }
        });

        lblClemensEditDate.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
        lblClemensEditDate.setText("วัน/เดือน/ปี :");

        lblClemensEditNote.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
        lblClemensEditNote.setText("อาการที่เสีย :");

        txaClemensEditNote.setColumns(15);
        txaClemensEditNote.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
        txaClemensEditNote.setRows(3);
        txaClemensEditNote.setPreferredSize(new java.awt.Dimension(84, 40));
        jScrollPane2.setViewportView(txaClemensEditNote);

        txfEditClemensDate.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
        txfEditClemensDate.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                txfEditClemensDateActionPerformed(evt);
            }
        });

        jLabel7.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
        jLabel7.setText("สถานะการซ่อม :");

        txfEditClemensDate1.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
        txfEditClemensDate1.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                txfEditClemensDate1ActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout jPanel2Layout = new javax.swing.GroupLayout(jPanel2);
        jPanel2.setLayout(jPanel2Layout);
        jPanel2Layout.setHorizontalGroup(
            jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel2Layout.createSequentialGroup()
                .addGap(20, 20, 20)
                .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addComponent(jLabel7)
                    .addComponent(lblClemensEditDate)
                    .addComponent(lblClemensEditStaff)
                    .addComponent(lblClemensEditProduct)
                    .addComponent(lblClemensEditNote))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(txfEditClemensProduct, javax.swing.GroupLayout.PREFERRED_SIZE, 152, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(txfEditClemensStaff, javax.swing.GroupLayout.PREFERRED_SIZE, 152, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(txfEditClemensDate, javax.swing.GroupLayout.PREFERRED_SIZE, 152, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jScrollPane2, javax.swing.GroupLayout.PREFERRED_SIZE, 192, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(txfEditClemensDate1, javax.swing.GroupLayout.PREFERRED_SIZE, 152, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addContainerGap(404, Short.MAX_VALUE))
        );
        jPanel2Layout.setVerticalGroup(
            jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel2Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(txfEditClemensProduct, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(lblClemensEditProduct))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(txfEditClemensStaff)
                    .addComponent(lblClemensEditStaff))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(txfEditClemensDate, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(lblClemensEditDate))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jScrollPane2, javax.swing.GroupLayout.PREFERRED_SIZE, 69, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(lblClemensEditNote))
                .addGap(9, 9, 9)
                .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jLabel7)
                    .addComponent(txfEditClemensDate1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(229, 229, 229))
        );

        add(jPanel2, java.awt.BorderLayout.CENTER);
    }// </editor-fold>//GEN-END:initComponents

    private void txfEditClemensProductActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_txfEditClemensProductActionPerformed
        // TODO add your handling code here:
}//GEN-LAST:event_txfEditClemensProductActionPerformed

    private void txfEditClemensStaffActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_txfEditClemensStaffActionPerformed
        // TODO add your handling code here:
}//GEN-LAST:event_txfEditClemensStaffActionPerformed

    private void btnClemensSaveActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnClemensSaveActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_btnClemensSaveActionPerformed

    private void txfEditClemensDateActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_txfEditClemensDateActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_txfEditClemensDateActionPerformed

    private void txfEditClemensDate1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_txfEditClemensDate1ActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_txfEditClemensDate1ActionPerformed


    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JButton btnClemensCancel;
    private javax.swing.JButton btnClemensSave;
    private javax.swing.JLabel jLabel7;
    private javax.swing.JPanel jPanel1;
    private javax.swing.JPanel jPanel2;
    private javax.swing.JScrollPane jScrollPane2;
    private javax.swing.JLabel lblClemensEditDate;
    private javax.swing.JLabel lblClemensEditNote;
    private javax.swing.JLabel lblClemensEditProduct;
    private javax.swing.JLabel lblClemensEditStaff;
    private javax.swing.JLabel lblEditClemens;
    private javax.swing.JTextArea txaClemensEditNote;
    private javax.swing.JTextField txfEditClemensDate;
    private javax.swing.JTextField txfEditClemensDate1;
    private javax.swing.JTextField txfEditClemensProduct;
    private javax.swing.JTextField txfEditClemensStaff;
    // End of variables declaration//GEN-END:variables

}
